package com.ruoyi.APPMS.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 部件销售订单对象 salepartorder
 *
 * @author 谢雨琦
 * @date 2023-07-04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Salepartorder {
    /** 部件销售订单ID */
    @Excel(name = "部件销售订单ID")
    @TableId(type = IdType.AUTO)
    private Long salepartorderid;

    /** 部件ID */
    @Excel(name = "部件ID")
    private Long partid;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customerid;
    @TableField(exist = false)
    private String customername;

    @TableField(exist = false)
    private String flag;


    /** 销售员ID */
    @Excel(name = "销售员ID")
    private Long salespersonid;
    @TableField(exist = false)
    private String salespersonname;

    /** 物流ID */
    @Excel(name = "物流ID")
    private Long logisticsid;
    @TableField(exist = false)
    private String trackingnumber;
    @TableField(exist = false)
    private String couriercompany;
    @TableField(exist = false)
    private Long status;


    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactnumber;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createtime;

    /** 修改时间 */
    @Excel(name = "修改时间")
    private String modifytime;

    /** 删除标记 */
    @TableLogic
    private Long deleted;
}
